

import { createApp } from 'vue'
import App from './App.vue'
import MyButton from './components/MyButton.vue'
import mitt from 'mitt';
const evenBus = mitt()
// 先注册组件
const app = createApp(App);
app.component('MyButton', MyButton);

// 再挂载应用
app.mount('#app');
